package com.beta.restapi.request.user;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.beta.dto.user.UserResetPasswordDto;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.Valid;

/**
 * Created by vector on 2016/11/21.
 */
public class UserResetPasswordRequest {

    @NotBlank
    private String confirmationCode;

    @JsonProperty("user")
    @Valid
    @NotBlank
    private UserResetPasswordDto resetPasswordDto;

    public String getConfirmationCode() {
        return confirmationCode;
    }

    public void setConfirmationCode(String confirmationCode) {
        this.confirmationCode = confirmationCode;
    }

    public UserResetPasswordDto getResetPasswordDto() {
        return resetPasswordDto;
    }

    public void setResetPasswordDto(UserResetPasswordDto resetPasswordDto) {
        this.resetPasswordDto = resetPasswordDto;
    }

}
